﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Login.aspx.vb" Inherits="Login" %>

<%@ Register src="Control/Messagebox/msbox.ascx" tagname="msbox" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Login Form</title>
    <link href="Styles/style_login.css" rel="stylesheet" type="text/css" />
    
    
    <link href="Styles/thickbox.css" rel="stylesheet"  type="text/css" media="screen" />
    <link href="Styles/jquery-ui-1.8.1.custom.css" rel="stylesheet" type="text/css" media="screen" />

    <script src='<%=ResolveUrl("~/Scripts/jquery-1.4.1.min.js")%>' type="text/javascript" ></script>
    <script src='<%=ResolveUrl("~/Scripts/jquery-ui-1.8.custom.min.js")%>' type="text/javascript" ></script>
    <script src='<%=ResolveUrl("~/Scripts/jquery.ui.datepicker-vi.js")%>' type="text/javascript" ></script>

    <script src='<%=ResolveUrl("~/Scripts/thickbox.js")%>' type="text/javascript" ></script>
    <script src='<%=ResolveUrl("~/Scripts/thickbox-compressed.js")%>' type="text/javascript"></script>


    <script type="text/javascript">
        $(function () {
            $("#<%=txtUserName.ClientID() %>").focus();


            $(".form_login input").keypress(function (e) {
                if (e.keyCode == 13) {
                    $("#<%=btnLogin.ClientID()%>").click();
                    return false;
                }
            });

        });
    </script>
    
</head>
<body>
    <form id="form1" runat="server">
<div class="wrapper_login">
	<div class="main_login"> 
    	<div class="row_login">  			
                <!-- logo page -->
                 <div class="logo_login">
                        <a href=""><img  alt="Unilever" src="images/logo_unilever_login.png" border="0"></a>
                 </div>
                 <!-- end logo pages -->   		
                     
                     <div class="name_login">
                            <img  alt="Unilever" src="images/name_login.png" border="0">	
                     </div>

    
<div class="box_login">
    <div class="title_login"></div>
    <div class="form_login">        
     <div class="title_login"><img src="images/icon_login.png" align="absmiddle" border="0"> ĐĂNG NHẬP</div>  
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="40%" valign="middle" align="right" class="text_form_login">Tên đăng nhập:</td>
            <td width="60%" valign="middle" align="left" class="text_form_login_2">
                    <asp:TextBox ID="txtUserName" runat="server" CssClass="input_login cm-failed-field" Width="130"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"
                         ErrorMessage="Nhập tên đăng nhập" SetFocusOnError="True">*</asp:RequiredFieldValidator>
            
            </td>
          </tr>
          <tr>
            <td valign="middle" align="right" class="text_form_login">Mật khẩu:</td>
            <td  valign="middle" align="left" class="text_form_login_2">
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="input_login cm-failed-field" Width="130"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                        ErrorMessage="Nhập mật khẩu" SetFocusOnError="True">*</asp:RequiredFieldValidator>
            </td>
          </tr>
          <tr>
            <td valign="middle" align="right" class="text_form_login" style="text-align:center;" colspan="2">
                <asp:CheckBox ID="chkRememberMe" runat="server" />&nbsp; &nbsp; Nhớ tên đăng nhập ?<br />
                <!--<asp:HyperLink ID="hplForgotPassword" runat="server">&nbsp; &nbsp;Quên mật khẩu?                
                </asp:HyperLink>-->
                                
            </td>

          </tr>
          <tr>
            <td>&nbsp;</td>
            <td class="text_form_login_2" valign="middle" align="left"><asp:Button ID="btnLogin" runat="server" Text="Đăng nhập" CssClass="btn_login" /></td>
          </tr>
          <tr>
            
            <td class="text_form_login_links" valign="middle" align="left" colspan="2" style="padding-left:30px;">
            <asp:Label ID="lblLoginFail" runat="server" Text="Tên đăng nhập hoặc mật khẩu chưa chính xác. <br> Hãy nhập lại."
                Visible="False"></asp:Label>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                ShowSummary="False" />            
            
            </td>
          </tr>
    </table>
                                       

                                </div>
                        </div> 
            </div>
            
    </div>        
</div>
                                 
    <uc1:msbox ID="msbox1" runat="server" />
                                 
</form>

</body>
</html>
